Physical activity intervention with connected devices